package net.wanho.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.wanho.po.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.wanho.vo.ProductVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【product(商品表)】的数据库操作Mapper
* @createDate 2024-10-18 16:14:23
* @Entity net.wanho.po.Product
*/
@Mapper
public interface ProductMapper extends BaseMapper<Product> {

    Page<ProductVo> selectPageList(Page<ProductVo> page, @Param("ew") QueryWrapper<ProductVo> wrapper);

    List<ProductVo> selectInventWarning();

    List<Product> selectInventDanger();
}




